package com.robusta.spreadsheet.model;

import com.google.common.io.Resources;
import com.robusta.spreadsheet.model.exception.WorkbookException;
import com.robusta.spreadsheet.model.impl.RobustaWorkbook;

/**
*/
class RobustaWorkbookFixture extends RobustaWorkbook {
    public RobustaWorkbookFixture() throws Exception {
        this(org.apache.poi.ss.usermodel.WorkbookFactory.create(Resources.getResource("test.xlsx").openStream()), RobustaModelTestFixture.WORKBOOK_TEMPLATE);
    }
    public RobustaWorkbookFixture(org.apache.poi.ss.usermodel.Workbook workbook, WorkbookTemplate template) throws WorkbookException {
        super(workbook, template);
    }
}
